package org.example.zuoye.mapper;

import org.apache.ibatis.annotations.Select;
import org.example.zuoye.entity.Schedules;
import org.example.zuoye.vo.SchedulesByDay;

import java.util.List;

/**
* @author 86198
* @description 针对表【schedules】的数据库操作Mapper
* @createDate 2024-08-10 15:51:37
* @Entity org.example.zuoye.entity.Schedules
*/
public interface SchedulesMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Schedules record);

    int insertSelective(Schedules record);

    Schedules selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Schedules record);

    int updateByPrimaryKey(Schedules record);

    List<Schedules> search(Schedules schedules);

    int deleteByIds(Integer[] ids);

    /**
     * 获取今天的放号记录
     * @return
     */

    List<SchedulesByDay> findToday();

    /**
     * 分页查询返回分页对象
     * @param schedules
     * @return
     */

    // List search(Schedules schedules);
}
